package com.hxh.learn.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: hxh
 * @Date: 2023/3/6
 */
@Data
@ApiModel(value = "登录对象", description = "")
public class AdminLogin {
    @NotBlank
    @ApiModelProperty(value = "用户名",required = true)
    private String username;

    @NotBlank
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
